package com.luban.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserService2 {

	private OrderService2 orderService2;

	@Autowired   //可以不只做用在set方法上，先依据type再依据name
	public void xxx(OrderService2 orderService2) {
		this.orderService2 = orderService2;
	}

	public void test() {
		System.out.println(orderService2);
	}

}
